package com.zzxx.wechat.exception;

import lombok.Data;

@Data
public class UrlParseException extends RuntimeException {

    private Integer code;
    private String message;

    public UrlParseException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public UrlParseException(String message) {
        this.message = message;
    }

    public UrlParseException(Exception e) {
        super(e);
    }
}
